<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<title>Add program</title>
 <link rel="shortcut icon" type="image/x-icon" href="./resources/favicon.ico" />
</head>
<body>
<form method="POST" action="<c:url value="/addProgram" />">
<table>
<tr>
<td align="right">Program name</td>
<td><input type="text" name="name" /></td>
</tr>
<tr>
<td align="right">Program description</td>
<td><input type="text" name="desc" /></td>
</tr>
<tr>
<td colspan="2" align="right">
<security:authentication property="name" var="Login"/>
<input type='hidden' name=userLogin value="${Login}" />  
<input type="submit" value="Add" />
</td>
</tr>
</table>
</form>
</body>
</html>